<template>
  <div class="goback">
    <van-nav-bar :title="title" left-arrow @click-left="onClickLeft" />
  </div>
</template>

<script>
export default {
  props: ["title"],
  methods: {
    onClickLeft() {
      this.$router.back();
    },
  },
};
</script>

<style lang="scss">
.goback {
  .van-tabs--card > .van-tabs__wrap {
    height: 90px;
  }
  .van-tabs__nav--card {
    height: 80px;
  }
  .van-nav-bar .van-icon {
    color: black;
  }
  .van-nav-bar__content {
    height: 100px;
  }
  .van-nav-bar__arrow {
    font-size: 45px;
  }
  .van-nav-bar__title {
    font-size: 32px;
    font-weight: 600;
  }
  .van-ellipsis {
    overflow: unset;
  }
}
</style>
